/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.pretorius.question2.composition.model;

/**
 *
 * @author griddy
 */
public class Vehicle {
    
    public Vehicle()
    {
        
    }

    public Vehicle(int odometerReading, String make, String model, int manufactureYear) {
        this.odometerReading = odometerReading;
        this.make = make;
        this.model = model;
        this.manufactureYear = manufactureYear;
    }

    public String getMake() {
        return make;
    }

    public void setMake(String make) {
        this.make = make;
    }

    public int getManufactureYear() {
        return manufactureYear;
    }

    public void setManufactureYear(int manufactureYear) {
        this.manufactureYear = manufactureYear;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public int getOdometerReading() {
        return odometerReading;
    }

    public void setOdometerReading(int odometerReading) {
        this.odometerReading = odometerReading;
    }
    
    public void clearOdometerReading()
    {
        odometerReading = 0;
        
    }
    
    private int odometerReading;
    private String make;
    private String model;
    private int manufactureYear;
    
}
